Use xm create's --dryrun option to get the name from the configuration file,
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 16:25:13 +0000 (16:25 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Wed, 7 Dec 2005 16:25:13 +0000 (16:25 +0000)
commit4213a82e5bce7b27e51d065864bfd5d0d90005dc
tree7c36f7d23c7fdaecbefa76f53aec50f3ec7b36a7
parentd8fdcac4df8ac7951d569266c102cd261345c8f5
Use xm create's --dryrun option to get the name from the configuration file,
rather than the eversoskanky approach taken previously (use grep, and replace
any occurrences of %d with [0-9]* !)

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/init.d/xendomains